<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui">
<ui:composition>
	<h:form>
		<p:menubar autoDisplay="false">
			<p:submenu label="#{text['menu.quanLyBanHang']}">
				<p:menuitem value="#{text['menu.danhSachBanKhuVuc']}" url="/pages/config/danhSachBanKhuVuc.jsf" />
			</p:submenu>

			<p:submenu label="#{text['menu.quanLySanPham']}">
				<p:menuitem value="#{text['menu.quanLySanPham']}" url="/pages/catalog/sanPhamView.jsf" />
				<p:menuitem value="#{text['menu.loaiSanPhamList']}" url="/pages/catalog/loaiSanPhamView.jsf" />
				<p:menuitem value="#{text['menu.donHangList']}" url="/pages/order/donHangView.jsf" />
				<p:menuitem value="#{text['menu.dinhMucList']}" url="/pages/order/dinhMucView.jsf" />
				<p:menuitem value="#{text['menu.phieuThanhToanList']}" url="/pages/finance/phieuThanhToanView.jsf" />
				<p:menuitem value="#{text['menu.phieuThuList']}" url="/pages/finance/phieuThuView.jsf" />
				<p:menuitem value="#{text['menu.phieuChiList']}" url="/pages/finance/phieuChiView.jsf" />
			</p:submenu>

			<p:submenu label="#{text['menu.quanLyChiNhanh']}">
				<p:menuitem value="#{text['menu.banList']}" url="/pages/config/banView.jsf" />
				<p:menuitem value="#{text['menu.khuVucList']}" url="/pages/config/khuVucView.jsf" />
				<p:menuitem value="#{text['menu.chiNhanhList']}" url="/pages/config/chiNhanhView.jsf" />
			</p:submenu>

			<p:submenu label="#{text['menu.quanLyKho']}">
				<p:menuitem value="#{text['menu.khoList']}" url="/pages/store/khoView.jsf" />
				<p:menuitem value="#{text['menu.phieuNhapKhoList']}" url="/pages/store/phieuNhapKhoView.jsf" />
				<p:menuitem value="#{text['menu.phieuXuatKhoList']}" url="/pages/store/phieuXuatKhoView.jsf" />
				<p:menuitem value="#{text['menu.chiTietNhapKhoList']}" url="/pages/store/chiTietNhapKhoView.jsf" />
			</p:submenu>
			<p:submenu label="#{text['menu.quanLyLienLac']}">
				<p:menuitem value="#{text['menu.nhaCungCapList']}" url="/pages/contact/nhaCungCapView.jsf" />
				<p:menuitem value="#{text['menu.khachHangList']}" url="/pages/contact/khachHangView.jsf" />
				<p:menuitem value="#{text['menu.loaiKhachHangList']}" url="/pages/contact/loaiKhachHangView.jsf" />
			</p:submenu>
			<p:submenu label="#{text['menu.quanLyNhanVien']}">
				<p:menuitem value="#{text['menu.nhanVienList']}" url="/pages/contact/nhanVienView.jsf" />
				<p:menuitem value="#{text['menu.loaiNhanVienList']}" url="/pages/contact/loaiNhanVienView.jsf" />
				<p:menuitem value="#{text['menu.traLuongList']}" url="/pages/employee/traLuongView.jsf" />
			</p:submenu>
			<p:submenu label="#{text['menu.quanLyNguoiDung']}">
				<p:menuitem value="#{text['menu.nguoiDungList']}" url="/pages/operator/operatorView.jsf" />
				<p:menuitem value="#{text['menu.operatorProfileList']}" url="/pages/operator/operatorProfileView.jsf" />
				<p:menuitem value="#{text['menu.operatorRoleList']}" url="/pages/operator/operatorRoleView.jsf" />
			</p:submenu>

			<p:submenu label="#{text['menu.quanLyHopDong']}"></p:submenu>

			<f:facet name="options">
				<p:menuButton value="#{menuBar.currentUserName}">
					<p:menuitem value="Profile" url="#" />
					<p:separator />
					<p:menuitem value="Logout" url="/logout" icon="ui-icon-extlink" />
				</p:menuButton>
			</f:facet>
		</p:menubar>
	</h:form>
</ui:composition>
</html>